<template>
  <div class="combine-collect">
    <!-- 图片部分 -->
    <div class="c-superposition">
      <div class="c-movie-num">111</div>
      <div class="c-s-one">111</div>
      <div class="c-s-two">222</div>
      <div class="c-s-three">333</div>
    </div>
    <!-- 标题 -->
    <div>复仇者联盟</div>
    <!-- 价格 购买数 -->
    <div class="c-movie-content">
      <div>
        <!-- 价格 -->
        <span class="c-c-RMB">￥9.9</span>
        <!-- 原价 -->
        <span class="c-c-original">￥20</span>
      </div>
      <!-- 购买人数 -->
      <div class="c-c-man">3.5万人购买</div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'FissionFriendsH5CombineCollectBox'
}
</script>

<style lang="scss" scoped>
.combine-collect {
  margin: 10px 0;
  // 层叠盒子
  .c-superposition {
    position: relative;
    height: 100px;
    width: 150px;
    // background-color: pink;
    border-radius: 5px;
    margin-bottom: 10px;
    //   视屏数量
    .c-movie-num {
      position: absolute;
      display: flex;
      justify-content: center;
      align-items: center;
      bottom: 5px;
      right: 5px;
      min-width: 40px;
      background-color: #ccc;
      font-size: 12px;
      border-radius: 15px;
      z-index: 4;
    }
    // 层叠图
    .c-s-one,
    .c-s-two,
    .c-s-three {
      position: absolute;
      width: 100%;
      height: 100%;
    }
    .c-s-one {
      width: 90%;
      left: 6px;
      background-color: powderblue;
      transform: rotateX(4deg) translateZ(100px);
      z-index: 1;
    }
    .c-s-two {
      width: 95%;
      left: 3px;
      background-color: purple;
      transform: rotateX(0deg) translateZ(100px);
      z-index: 2;
    }
    .c-s-three {
      position: absolute;
      background-color: skyblue;
      transform: rotateX(-4deg) translateZ(100px);
      z-index: 3;
    }
  }
  .c-movie-content {
    display: flex;
    // font-size: 10px;
    justify-content: space-between;
    .c-c-RMB {
      padding: 4px 8px 4px 4px;
      border-radius: 20px;
      margin-right: 5px;
      background-color: aquamarine;
    }
    .c-c-original {
      font-size: 10px;
      text-decoration: line-through;
    }
    .c-c-man {
      // display: flex;
      font-size: 12px;
    }
  }
}
</style>
